package com.bstek.bdf4.enums.test;

import com.bstek.bdf4.enums.DeptStatesEnum;
import com.bstek.bdf4.enums.IBaseEnum;
import com.bstek.bdf4.enums.ResponseStatusEnum;

/**
 * @Title: EnumMain
 * @Package: com.bstek.bdf3.enums
 * @Description:
 * @Author: zxq
 * @Date: 2023/11/13 - 14:26
 */
public class EnumMain {
    public static void main(String[] args) {
        System.out.println(ResponseStatusEnum.SUCCESS.getMsg());
        System.out.println(DeptStatesEnum.ONE.getCode());
        System.out.println(DeptStatesEnum.TWO.getMsg());
        System.out.println(IBaseEnum.getByCode(DeptStatesEnum.class,1).getMsg());
        System.out.println(IBaseEnum.getByCode(DeptStatesEnum.class,2).getMsg());
    }
}
